package com.anti.modular.bus.busbasicsettings.service;

import com.anti.commom.api.Result;
import com.anti.jdbc.support.page.PageParam;
import com.anti.jdbc.support.page.PageResult;
import com.anti.modular.bus.busbasicsettings.entity.BusBasicSettings;
import com.anti.modular.bus.busbasicsettings.param.BusBasicSettingsParam;

import java.util.List;

/**
 * 基础設置表service接口
 *
 * @author anti
 * @date 2021-04-09 10:20:17
 */
public interface BusBasicSettingsService{

    /**
    * 根据主键查询实体
    */
    BusBasicSettings getById(BusBasicSettingsParam busBasicSettingsParam);

    /**
     * 查询基础設置表
     *
     * @author anti
     * @date 2021-04-09 10:20:17
     */
    PageResult page(PageParam pageParam,BusBasicSettingsParam busBasicSettingsParam);

    BusBasicSettings getOne();
    /**
     * 基础設置表列表
     *
     * @author anti
     * @date 2021-04-09 10:20:17
     */
    List<BusBasicSettings> list(BusBasicSettingsParam busBasicSettingsParam);

    /**
     * 添加基础設置表
     *
     * @author anti
     * @date 2021-04-09 10:20:17
     */
    void add(BusBasicSettingsParam busBasicSettingsParam);

    /**
     * 删除基础設置表
     *
     * @author anti
     * @date 2021-04-09 10:20:17
     */
    void delete(BusBasicSettingsParam busBasicSettingsParam);

    /**
     * 编辑基础設置表
     *
     * @author anti
     * @date 2021-04-09 10:20:17
     */
    void edit(BusBasicSettingsParam busBasicSettingsParam);

    /**
     * 查看基础設置表
     *
     * @author anti
     * @date 2021-04-09 10:20:17
     */
     BusBasicSettings detail(BusBasicSettingsParam busBasicSettingsParam);

}
